package cn.achao.csr.api.model.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;


/**
 * 聊天信息点播
 * Description: 消息发送请求体
 * Author: achao
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessageReq {
    @NotNull
    private Long roomId;

    @NotNull
    private Integer msgType;

    /**
     * @see cn.achao.csr.api.model.dto
     */
    @NotNull
    private Object body;

}
